set(src_dirs
            IIC
            SSD1306OLED)

set(include
            IIC
            SSD1306OLED)

set(requires
            driver)           

idf_component_register(SRC_DIRS ${src_dirs} INCLUDE_DIRS ${include_dirs} REQUIRES ${requires})

target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-error=unused-const-variable")